package com.shell.config;

import com.shell.governor.modules.scanner.MessageKeywordScanner;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class GovernorConfig {
	@Bean({ "constantScanner" })
	public MessageKeywordScanner getMessageKeywordScanner() {
		MessageKeywordScanner scanner = new MessageKeywordScanner();
		scanner.setScanPackagePath("com.shell.governor.modules.message.keyword");
		return scanner;
	}
}
